/* __auth__ : KunLin */
package com.cskaoyan.bean.vo.comment;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentListVO {


    private Integer errno;
    private DataDTO data;
    private String errmsg;

    @Data
    public static class DataDTO {
        private long total;
        private Integer pages;
        private Integer limit;
        private Integer page;
        private List<ListDTO> list;
    }

    @Data
    public static class ListDTO {
        private Integer id;
        private Integer valueId;
        private Byte type;
        private String content;
        private String adminContent;
        private Integer userId;
        private Boolean hasPicture;
        private String[] picUrls;
        private Short star;
        private Date addTime;
        private Date updateTime;
        private Boolean deleted;
    }

    public CommentListVO success(){
        this.setErrno(0);
        this.setErrmsg("成功");
        return this;
    }
}
